<template>
  <div class="NewHuman">
    <!-- <div class="center-header">
      <div class="comeplay">
        <span>欢迎来到XXX主持人团队！ 客服：13812341234</span>
      </div>
      <div class="loginRegister">
        <button class="login">登录</button>
        <button class="register">注册</button>
      </div>
    </div> -->
    <Head />
    <div class="logo">
      <img src="../../../assets/logo.png" alt="" />
    </div>
    <div class="NewHuman-a">
      <el-tabs type="border-card">
        <el-tab-pane label="我的预订"><PlannerSelect /></el-tab-pane>
      </el-tabs>
    </div>
    <div class="TiBox">
      <el-button type="text" @click="dialogVisible = true">个人资料</el-button>
      <el-dialog
        :visible.sync="dialogVisible"
        width="30%"
        :before-close="handleClose"
      >
        <div class="information">
          <div class="AddDayHeader">
            <img class="AddDayHeaderImg" src="" alt="" />
            <i class="titleText">个人资料</i>
          </div>
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">公司名称:</span>
          <span class="AddDayMid-a-inp">张撒旦撒旦三</span>
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">姓名:</span>
          <span class="AddDayMid-a-inp">张三</span>
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">手机号码:</span>
          <input type="text" class="AddDayMid-a-inp" />
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">邮箱:</span>
          <input type="text" class="AddDayMid-a-inp" />
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">密码:</span>
          <input type="text" class="AddDayMid-a-inp" />
          <span class="tishi">*不修改请留空</span>
        </div>
        <div class="AddDayMid-a">
          <span class="AddDayMid-a-biao">确认密码:</span>
          <input type="text" class="AddDayMid-a-inp" />
        </div>
        <span slot="footer" class="dialog-footer">
          <el-button @click="dialogVisible = false">取 消</el-button>
          <el-button type="primary" @click="dialogVisible = false"
            >确 定</el-button
          >
        </span>
      </el-dialog>
    </div>
    <div class="PaginationBox">
      <Pagination />
    </div>
    <Footer />
  </div>
</template>

<script>
import Head from "../../../components/Head";
import Footer from "../../../components/Footer";
import Pagination from "../Pagination";
import PlannerSelect from "./PlannerSelect";

export default {
  name: "PlannerHome",
  data() {
    return {
      dialogVisible: false,
    };
  },
  components: {
    Head,
    Pagination,
    PlannerSelect,
    Footer,
  },
  methods: {
    handleClose(done) {
      this.$confirm("确认关闭？")
        .then((_) => {
          done();
        })
        .catch((_) => {});
    },
  },
};
</script>

<style scpoed lang="less">
.NewHuman {
  position: relative;
  width: 100%;
}
.TiBox {
  position: absolute;
  left: 110px;
  top: 205px;
}
.PaginationBox {
  text-align: center;
  margin-top: 30px;
  bottom: 0px;
}
.logo {
  margin-left: 100px;
  margin-top: 20px;
  margin-bottom: 60px;
  width: 210px;
  height: 80px;
}
.loginRegister {
  position: absolute;
  top: 5px;
  right: 10px;
  margin-right: 50px;
}
.center-header {
  position: relative;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: darkgrey;
}
.midLand {
  margin-left: 50px;
}
.titleText {
  margin-left: 160px;
  font-size: 20px;
}
.AddDayHeaderImg {
  margin-left: 10px;
  margin-top: 20px;
  width: 90px;
  height: 50px;
  background-color: aquamarine;
}
.AddDayMid-a {
  font-size: 16px;
  margin-left: 50px;
  margin-top: 20px;
}
.AddDayMid-a-inp {
  margin-left: 20px;
}
.AddDayMid-a-inp-t {
  margin-left: 70px;
}
.tishi {
  color: red;
  font-size: 12px;
}
</style>